Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-uide4to3TransformsR4toR3.html |
Url | http://hl7.org/fhir/StructureMap/ImplementationGuide4to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | uide4to3 Transforms: R4 to R3 |
Title | R4 to R3 Conversion for ImplementationGuide |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | R4toR3ConversionforImplementationGuide |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/ImplementationGuide4to3' /// name = 'uide4to3 Transforms: R4 to R3' /// title = 'R4 to R3 Conversion for ImplementationGuide' /// status = 'active' uses "http://hl7.org/fhir/4.0/ImplementationGuide" alias ImplementationGuide as source uses "http://hl7.org/fhir/3.0/ImplementationGuide" alias ImplementationGuideR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group ImplementationGuide(source src : ImplementationGuideR3, target tgt : ImplementationGuide) extends DomainResource <<type+>> { src.url -> tgt.url; src.version -> tgt.version; src.name -> tgt.name; src.status -> tgt.status; src.experimental -> tgt.experimental; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.copyright -> tgt.copyright; src.fhirVersion -> tgt.fhirVersion; src.dependsOn as vs0 -> tgt.dependency as vt0 then dependency(vs0, vt0) "dependency"; src.global as vs0 -> tgt.global as vt0 then global(vs0, vt0); src.definition as vs0 then definition(vs0, tgt); src.manifest as mft then manifest(mft, tgt); } group dependency(source src, target tgt) extends BackboneElement { src -> tgt.type = 'reference' "type"; src.uri -> tgt.uri; } group global(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.profile -> tgt.profile; } group definition(source src, target tgt) extends BackboneElement { src.grouping as grp -> tgt.package as pck then grouping(grp, pck, src) "package"; src.page as vs0 -> tgt.page as vt0 then page(vs0, vt0); } group grouping(source src, target tgt, source dfn) extends BackboneElement { src.name -> tgt.name; src.description -> tgt.description; dfn.resource as rs where groupingId = src.id -> tgt.resource as rt then resource(rs, rt); } group resource(source src, target tgt) extends BackboneElement { src.example : boolean as vs0 -> tgt.example as vt0 then boolean(vs0, vt0); src.name -> tgt.name; src.description -> tgt.description; src.extension as ext where url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.package.resource.acronym' then { ext.value as vs0 -> tgt.acronym = vs0 "acronym2"; } "acronym"; src.reference as vs0 where extension('http://hl7.org/fhir/3.0/StructureDefinition/BaseType').empty() -> tgt.source = create('Reference') as vt0 then Reference(vs0, vt0) "source1"; src.reference as vs0 where extension('http://hl7.org/fhir/3.0/StructureDefinition/BaseType').exists() -> tgt.source = create('uri') as vt0 then { vs0.reference as vs1 then uri(vs1, vt0) "source2a"; } "source2"; src.example : canonical as vs0 -> tgt.example = 'true', tgt.exampleFor as vt0 then canonical2Reference(vs0, vt0) "exampleFor"; } group page(source src, target tgt) extends BackboneElement { src.name : uri as vs0 -> tgt.source as vt0 then uri(vs0, vt0) "source"; src.title -> tgt.title; src.extension as ext where url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.kind' then { ext.value as vs0 -> tgt.kind = vs0 "acronym2"; } "acronym"; src.extension as ext where url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.type' then { ext.value as vs0 -> tgt.type = vs0 "acronym2"; } "acronym"; src.extension as ext where url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.package' then { ext.value as vs0 -> tgt.package = vs0 "acronym2"; } "acronym"; src.extension as ext where url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.format' then { ext.value as vs0 -> tgt.format = vs0 "acronym2"; } "acronym"; src.page as vs0 -> tgt.page as vt0 then page(vs0, vt0); } group manifest(source src, target tgt) extends BackboneElement { src.other -> tgt.binary "binary"; }
{
"resourceType" : "StructureMap",
"id" : "uide4to3TransformsR4toR3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ImplementationGuide4to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'uide4to3 Transforms: R4 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'R4 to R3 Conversion for ImplementationGuide'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/ImplementationGuide<span style=\"color: navy\">" </span><b>alias </b>ImplementationGuide <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/ImplementationGuide<span style=\"color: navy\">" </span><b>alias </b>ImplementationGuideR3 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>ImplementationGuide<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ImplementationGuideR3, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ImplementationGuide<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.url<span style=\"color: navy\"><b> -> </b></span>tgt.url<span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n src.experimental<span style=\"color: navy\"><b> -> </b></span>tgt.experimental<span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher<span style=\"color: navy\">;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.useContext<span style=\"color: navy\"><b> -> </b></span>tgt.useContext<span style=\"color: navy\">;</span>\r\n src.jurisdiction<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction<span style=\"color: navy\">;</span>\r\n src.copyright<span style=\"color: navy\"><b> -> </b></span>tgt.copyright<span style=\"color: navy\">;</span>\r\n src.fhirVersion<span style=\"color: navy\"><b> -> </b></span>tgt.fhirVersion<span style=\"color: navy\">;</span>\r\n src.dependsOn<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.dependency<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>dependency<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"dependency"</i><span style=\"color: navy\">;</span>\r\n src.global<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.global<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>global<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.definition<b> as </b><span style=\"color: maroon\">vs0</span><b> then </b>definition<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.manifest<b> as </b><span style=\"color: maroon\">mft</span><b> then </b>manifest<span style=\"color: navy\">(</span><span style=\"color: maroon\">mft</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dependency<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span>tgt.type = <span style=\"color: blue\">'reference'</span> <i>"type"</i><span style=\"color: navy\">;</span>\r\n src.uri<span style=\"color: navy\"><b> -> </b></span>tgt.uri<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>global<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.profile<span style=\"color: navy\"><b> -> </b></span>tgt.profile<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>definition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.grouping<b> as </b><span style=\"color: maroon\">grp</span><span style=\"color: navy\"><b> -> </b></span>tgt.package<b> as </b><span style=\"color: maroon\">pck</span><b> then </b>grouping<span style=\"color: navy\">(</span><span style=\"color: maroon\">grp</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">pck</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">src</span><span style=\"color: navy\">)</span> <i>"package"</i><span style=\"color: navy\">;</span>\r\n src.page<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.page<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>page<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>grouping<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span>, <b>source</b> <span style=\"color: maroon\">dfn</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n dfn.resource<b> as </b><span style=\"color: maroon\">rs</span><b> where </b>groupingId = src.id<span style=\"color: navy\"><b> -> </b></span>tgt.resource<b> as </b><span style=\"color: maroon\">rt</span><b> then </b>resource<span style=\"color: navy\">(</span><span style=\"color: maroon\">rs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">rt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>resource<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.example<span style=\"color: navy\"> : </span>boolean<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.example<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>boolean<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.extension<b> as </b><span style=\"color: maroon\">ext</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.package.resource.acronym'<b> then</b><span style=\"color: navy\"> {\r\n</span> ext.value<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.acronym = <span style=\"color: maroon\">vs0</span> <i>"acronym2"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"acronym"</i><span style=\"color: navy\">;</span>\r\n src.reference<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>extension('http://hl7.org/fhir/3.0/StructureDefinition/BaseType').empty()<span style=\"color: navy\"><b> -> </b></span>tgt.source = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Reference'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>Reference<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"source1"</i><span style=\"color: navy\">;</span>\r\n src.reference<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>extension('http://hl7.org/fhir/3.0/StructureDefinition/BaseType').exists()<span style=\"color: navy\"><b> -> </b></span>tgt.source = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'uri'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.reference<b> as </b><span style=\"color: maroon\">vs1</span><b> then </b>uri<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs1</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"source2a"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"source2"</i><span style=\"color: navy\">;</span>\r\n src.example<span style=\"color: navy\"> : </span>canonical<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span> tgt.example = <span style=\"color: blue\">'true'</span><span style=\"color: navy\">, </span> tgt.exampleFor<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>canonical2Reference<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"exampleFor"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>page<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"> : </span>uri<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.source<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>uri<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"source"</i><span style=\"color: navy\">;</span>\r\n src.title<span style=\"color: navy\"><b> -> </b></span>tgt.title<span style=\"color: navy\">;</span>\r\n src.extension<b> as </b><span style=\"color: maroon\">ext</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.kind'<b> then</b><span style=\"color: navy\"> {\r\n</span> ext.value<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.kind = <span style=\"color: maroon\">vs0</span> <i>"acronym2"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"acronym"</i><span style=\"color: navy\">;</span>\r\n src.extension<b> as </b><span style=\"color: maroon\">ext</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.type'<b> then</b><span style=\"color: navy\"> {\r\n</span> ext.value<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.type = <span style=\"color: maroon\">vs0</span> <i>"acronym2"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"acronym"</i><span style=\"color: navy\">;</span>\r\n src.extension<b> as </b><span style=\"color: maroon\">ext</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.package'<b> then</b><span style=\"color: navy\"> {\r\n</span> ext.value<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.package = <span style=\"color: maroon\">vs0</span> <i>"acronym2"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"acronym"</i><span style=\"color: navy\">;</span>\r\n src.extension<b> as </b><span style=\"color: maroon\">ext</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.format'<b> then</b><span style=\"color: navy\"> {\r\n</span> ext.value<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.format = <span style=\"color: maroon\">vs0</span> <i>"acronym2"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"acronym"</i><span style=\"color: navy\">;</span>\r\n src.page<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.page<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>page<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>manifest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.other<span style=\"color: navy\"><b> -> </b></span>tgt.binary <i>"binary"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/ImplementationGuide4to3",
"version" : "0.1.0",
"name" : "uide4to3 Transforms: R4 to R3",
"title" : "R4 to R3 Conversion for ImplementationGuide",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "R4toR3ConversionforImplementationGuide",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/ImplementationGuide",
"mode" : "source",
"alias" : "ImplementationGuide"
},
{
"url" : "http://hl7.org/fhir/3.0/ImplementationGuide",
"mode" : "target",
"alias" : "ImplementationGuideR3"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to3"
],
"group" : [
{
"name" : "ImplementationGuide",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ImplementationGuideR3",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ImplementationGuide",
"mode" : "target"
}
],
"rule" : [
{
"name" : "url",
"source" : [
{
"context" : "src",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "experimental",
"source" : [
{
"context" : "src",
"element" : "experimental",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "experimental",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "publisher",
"source" : [
{
"context" : "src",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "useContext",
"source" : [
{
"context" : "src",
"element" : "useContext",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "useContext",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "jurisdiction",
"source" : [
{
"context" : "src",
"element" : "jurisdiction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "copyright",
"source" : [
{
"context" : "src",
"element" : "copyright",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "copyright",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "fhirVersion",
"source" : [
{
"context" : "src",
"element" : "fhirVersion",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "fhirVersion",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dependency",
"source" : [
{
"context" : "src",
"element" : "dependsOn",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dependency",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "dependency",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "global",
"source" : [
{
"context" : "src",
"element" : "global",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "global",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "global",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "definition",
"source" : [
{
"context" : "src",
"element" : "definition",
"variable" : "vs0"
}
],
"dependent" : [
{
"name" : "definition",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "tgt"
}
]
}
]
},
{
"name" : "manifest",
"source" : [
{
"context" : "src",
"element" : "manifest",
"variable" : "mft"
}
],
"dependent" : [
{
"name" : "manifest",
"parameter" : [
{
"valueId" : "mft"
},
{
"valueId" : "tgt"
}
]
}
]
}
]
},
{
"name" : "dependency",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "reference"
}
]
}
]
},
{
"name" : "uri",
"source" : [
{
"context" : "src",
"element" : "uri",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "uri",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "global",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "profile",
"source" : [
{
"context" : "src",
"element" : "profile",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "profile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "definition",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "package",
"source" : [
{
"context" : "src",
"element" : "grouping",
"variable" : "grp"
}
],
"target" : [
{
"context" : "tgt",
"element" : "package",
"variable" : "pck"
}
],
"dependent" : [
{
"name" : "grouping",
"parameter" : [
{
"valueId" : "grp"
},
{
"valueId" : "pck"
},
{
"valueId" : "src"
}
]
}
]
},
{
"name" : "page",
"source" : [
{
"context" : "src",
"element" : "page",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "page",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "page",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "grouping",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
},
{
"name" : "dfn",
"mode" : "source"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "resource",
"source" : [
{
"context" : "dfn",
"element" : "resource",
"variable" : "rs",
"condition" : "groupingId = src.id"
}
],
"target" : [
{
"context" : "tgt",
"element" : "resource",
"variable" : "rt"
}
],
"dependent" : [
{
"name" : "resource",
"parameter" : [
{
"valueId" : "rs"
},
{
"valueId" : "rt"
}
]
}
]
}
]
},
{
"name" : "resource",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "exampleBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "example",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "example",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "boolean",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "acronym",
"source" : [
{
"context" : "src",
"element" : "extension",
"variable" : "ext",
"condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.package.resource.acronym'"
}
],
"rule" : [
{
"name" : "acronym2",
"source" : [
{
"context" : "ext",
"element" : "value",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "acronym",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs0"
}
]
}
]
}
]
},
{
"name" : "source1",
"source" : [
{
"context" : "src",
"element" : "reference",
"variable" : "vs0",
"condition" : "extension('http://hl7.org/fhir/3.0/StructureDefinition/BaseType').empty()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vt0",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"dependent" : [
{
"name" : "Reference",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "source2",
"source" : [
{
"context" : "src",
"element" : "reference",
"variable" : "vs0",
"condition" : "extension('http://hl7.org/fhir/3.0/StructureDefinition/BaseType').exists()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vt0",
"transform" : "create",
"parameter" : [
{
"valueString" : "uri"
}
]
}
],
"rule" : [
{
"name" : "source2a",
"source" : [
{
"context" : "vs0",
"element" : "reference",
"variable" : "vs1"
}
],
"dependent" : [
{
"name" : "uri",
"parameter" : [
{
"valueId" : "vs1"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "exampleFor",
"source" : [
{
"context" : "src",
"type" : "canonical",
"element" : "example",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "example",
"transform" : "copy",
"parameter" : [
{
"valueString" : "true"
}
]
},
{
"context" : "tgt",
"element" : "exampleFor",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "canonical2Reference",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "page",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "source",
"source" : [
{
"context" : "src",
"type" : "uri",
"element" : "name",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "uri",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "title",
"source" : [
{
"context" : "src",
"element" : "title",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "title",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "acronym",
"source" : [
{
"context" : "src",
"element" : "extension",
"variable" : "ext",
"condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.kind'"
}
],
"rule" : [
{
"name" : "acronym2",
"source" : [
{
"context" : "ext",
"element" : "value",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "kind",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs0"
}
]
}
]
}
]
},
{
"name" : "acronym",
"source" : [
{
"context" : "src",
"element" : "extension",
"variable" : "ext",
"condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.type'"
}
],
"rule" : [
{
"name" : "acronym2",
"source" : [
{
"context" : "ext",
"element" : "value",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs0"
}
]
}
]
}
]
},
{
"name" : "acronym",
"source" : [
{
"context" : "src",
"element" : "extension",
"variable" : "ext",
"condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.package'"
}
],
"rule" : [
{
"name" : "acronym2",
"source" : [
{
"context" : "ext",
"element" : "value",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "package",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs0"
}
]
}
]
}
]
},
{
"name" : "acronym",
"source" : [
{
"context" : "src",
"element" : "extension",
"variable" : "ext",
"condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.format'"
}
],
"rule" : [
{
"name" : "acronym2",
"source" : [
{
"context" : "ext",
"element" : "value",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "format",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs0"
}
]
}
]
}
]
},
{
"name" : "page",
"source" : [
{
"context" : "src",
"element" : "page",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "page",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "page",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "manifest",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "binary",
"source" : [
{
"context" : "src",
"element" : "other",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "binary",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.